package com.example.hblog.module.dao;


import com.example.hblog.module.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {
    //用户登录
    User userLogin(User user);

    User mySelf ();

    //所有用户
    List<User> allUser();

    User findUserLoginByPhone(String phone);

    void updateUser(User user);
    User findUserByPhone(String phone);
}
